<html>
<head>
  <title>a2_sample1.php</title>
</head>
<body bgcolor="#ffffff" text="#000000">
<pre>
&lt;html&gt;
 &lt;head&gt;
  &lt;title&gt;PHP Demo A2.1&lt;/title&gt;
 &lt;/head&gt;

&lt;body&gt;

&lt;h1&gt;Demo A2.1&lt;/h1&gt;

&lt;p&gt;


&lt;?php

//  phpinfo();

  echo &quot;Hello World (demo of the echo statement)&quot;;

  echo &quot;&lt;p&gt;&quot; . `/bin/date` . &quot; (an echo statement and a shell date command) &lt;p&gt;&quot;;

  echo '&lt;p&gt; These code samples make use of httpclient from ';
  echo '&lt;a href=&quot;http://scripts.incutio.com/httpclient/&quot;&gt;&lt;strong&gt;http://scripts.incutio.com/httpclient/&lt;/strong&gt;&lt;/a&gt;';
  echo ' by Simon Willison (April 6th 2003)';
  echo '&lt;br&gt;The source code of httpclient is available &lt;a href=&quot;HttpClient.class.php.html&quot;&gt;here&lt;/a&gt; - peruse it if you like but we will treat it as a *blackbox* and simply use it.';
echo '&lt;br&gt; Other information on the http client class is given &lt;a href=&quot;http_client_access.html&quot;&gt;here&lt;/a&gt;.';

?&gt;
 
&lt;p&gt;

&lt;hr&gt;

&lt;/body&gt;
&lt;/html&gt;

</pre>
<hr>
syntax highlighted by <a href="http://www.palfrader.org/code2html">Code2HTML</a>, v. 0.9.1
</body>
</html>
